ComponentOne ASP.NET MVC Controls
ViewerBaseBuilder<TControl,TBuilder> Class Members
Methods 

C1.Web.Mvc.Viewer.Fluent Namespace : ViewerBaseBuilder<TControl,TBuilder> Class

The following tables list the members exposed by ViewerBaseBuilder<TControl,TBuilder>.

Public Methods
 NameDescription
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.FilePath. Sets the document path.  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.FullScreen. Sets whether viewer is under full screen mode.  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.MouseMode. Sets a value indicating the mouse behavior.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientBeforeSendRequest client event. Occurs before every request sent to the server.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientFullScreenChanged client event. Occurs after the full screen mode is changed.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientMouseModeChanged client event. Occurs after the mouse mode is changed.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientPageIndexChanged client event. Occurs after the page index is changed.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientQueryLoadingData client event. Queries the request data sent to the service before loading the document.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientViewModeChanged client event. Occurs after the view mode is changed.  
Public MethodConfigurates the C1.Web.Mvc.Viewer.ViewerBase.OnClientZoomFactorChanged client event. Occurs after the zoom factor is changed.  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.RequestHeaders. Sets an object containing request headers to be used when sending or requesting data. The most typical use for this property is in scenarios where authentication is required.  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.ServiceUrl. Sets the service url. It works as "~/api/" when it is not set.  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.ThresholdWidth. Sets the threshold to switch between mobile and PC template  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.ViewMode. Sets the view mode.  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.ZoomFactor. Sets the zoom factor.  
Public MethodConfigurates C1.Web.Mvc.Viewer.ViewerBase.ZoomMode. Sets a value indicating the current zoom mode to show the document pages.  
Top
Extension Methods
 NameDescription
Public Extension MethodRender the html string in template mode.
Top
See Also

Reference

ViewerBaseBuilder<TControl,TBuilder> Class
C1.Web.Mvc.Viewer.Fluent Namespace